<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分页-面向对象</title>
</head>
<body>
<h3>分页—面向对象</h3>
<p>统一：总共{{ page_obj.paginator.num_pages }} 页，当前{{ page_obj.number }} 页</p>
{% for user in object_list %}
    <p>{{ user.pk }}:{{ user.username }}</p>
{% endfor %}
</body>
</html>